package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_unionwar_activity_win_lose_log", desc = "群英争霸_胜负日志", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionWarActivityWinLose extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    int activityId;

    @FieldTypeAnnotation(desc = "商会id")
    String unionUId;

    @FieldTypeAnnotation(desc = "阶段")
    int phase;

    @FieldTypeAnnotation(desc = "场次")
    int session;

    @FieldTypeAnnotation(desc = "银两")
    String silver;

    @FieldTypeAnnotation(desc = "银两胜利")
    boolean silverWin;

    @FieldTypeAnnotation(desc = "赚钱胜利")
    boolean earnsWin;

    @FieldTypeAnnotation(desc = "对手商会id")
    String enemyUnionUId;

    public LogUnionWarActivityWinLose(int activityId, String unionUId, int phase, int session, String silver, boolean silverWin, boolean earnsWin, String enemyUnionUId) {
        this.activityId = activityId;
        this.unionUId = unionUId;
        this.phase = phase;
        this.session = session;
        this.silver = silver;
        this.silverWin = silverWin;
        this.earnsWin = earnsWin;
        this.enemyUnionUId = enemyUnionUId;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
